package com.ssy.lingxi.order.api.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 根据合同查询订单查询接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-08-25
 */
public class OrderContractFeignVO implements Serializable {
    private static final long serialVersionUID = -4457820542710005661L;

    /**
     * 合同Id
     */
    @NotNull(message = "合同Id要大于0")
    @Positive(message = "合同Id要大于0")
    private Long contractId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 订单摘要
     */
    private String digest;

    /**
     * 下单起始时间
     */
    private Long startTime;

    /**
     * 下单结束时间
     */
    private Long endTime;

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }
}
